package com.liuhaoqi.raletiveblog.entity;

import java.util.Date;

public class Test {
    private Integer commentid;

    private String content;

    private Integer userid;

    private Integer blogid;

    private Integer parentcommentid;

    private Date createtime;

    private Date updatetime;

    public Test(Integer commentid, String content, Integer userid, Integer blogid, Integer parentcommentid, Date createtime, Date updatetime) {
        this.commentid = commentid;
        this.content = content;
        this.userid = userid;
        this.blogid = blogid;
        this.parentcommentid = parentcommentid;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }

    public Test() {
        super();
    }

    public Integer getCommentid() {
        return commentid;
    }

    public void setCommentid(Integer commentid) {
        this.commentid = commentid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getBlogid() {
        return blogid;
    }

    public void setBlogid(Integer blogid) {
        this.blogid = blogid;
    }

    public Integer getParentcommentid() {
        return parentcommentid;
    }

    public void setParentcommentid(Integer parentcommentid) {
        this.parentcommentid = parentcommentid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}